[INFO] cloning repository https://github.com/malandrakisgeo/RustWebServer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malandrakisgeo/RustWebServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ec710fad152c22e62616230fee6cfeb81c5a2ce7
[INFO] fixing malandrakisgeo/RustWebServer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalandrakisgeo%2FRustWebServer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/malandrakisgeo/RustWebServer
[INFO] finished tweaking git repo https://github.com/malandrakisgeo/RustWebServer
[INFO] tweaked toml for git repo https://github.com/malandrakisgeo/RustWebServer written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/malandrakisgeo/RustWebServer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/malandrakisgeo/RustWebServer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 18 packages to latest compatible versions
[INFO] [stderr]       Adding futures v0.3.32
[INFO] [stderr]       Adding futures-channel v0.3.32
[INFO] [stderr]       Adding futures-core v0.3.32
[INFO] [stderr]       Adding futures-executor v0.3.32
[INFO] [stderr]       Adding futures-io v0.3.32
[INFO] [stderr]       Adding futures-macro v0.3.32
[INFO] [stderr]       Adding futures-sink v0.3.32
[INFO] [stderr]       Adding futures-task v0.3.32
[INFO] [stderr]       Adding futures-util v0.3.32
[INFO] [stderr]       Adding hermit-abi v0.5.2
[INFO] [stderr]       Adding memchr v2.8.2
[INFO] [stderr]       Adding num_cpus v1.17.0
[INFO] [stderr]       Adding pin-project-lite v0.2.17
[INFO] [stderr]     Updating proc-macro2 v1.0.69 -> v1.0.106
[INFO] [stderr]     Updating quote v1.0.33 -> v1.0.46
[INFO] [stderr]       Adding slab v0.4.12
[INFO] [stderr]     Updating syn v2.0.38 -> v2.0.118
[INFO] [stderr]       Adding threadpool v1.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a
[INFO] running `Command { std: "docker" "start" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking ctrlc v3.4.2
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking RustWebServer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let cache = FILE_CACHE.acquire();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         FILE_CACHE.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let cache = FILE_CACHE.acquire_mut();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FILE_CACHE.free();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let  buf = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let  buffer = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let cache = FILE_CACHE.acquire();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         FILE_CACHE.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let cache = FILE_CACHE.acquire_mut();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FILE_CACHE.free();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let  buf = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let  buffer = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.72s
[INFO] [stderr] crater-edition-check: RustWebServer v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking RustWebServer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/response/refera_error.rs:29:45
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ReferaError::Io(ref err) => err.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/response/refera_error.rs:29:45
[INFO] [stdout]    |
[INFO] [stdout] 29 |             ReferaError::Io(ref err) => err.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/content_manager/content_parser.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Err(err) => Vec::new()
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/content_manager/content_parser.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut file: Vec<u8>;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_headers`
[INFO] [stdout]   --> src/main.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn get_reply(url: &str, request_headers: HashMap<String, String>) -> ReferaResponse {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `auth`, `file_dir`, and `tls` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub auth: HashMap<String, String>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub file_dir: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 9 |     pub tls: Option<TlsConfig>,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cert_path` and `key_path` are never read
[INFO] [stdout]   --> src/config.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TlsConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 19 |     pub cert_path: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub key_path: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/response/refera_response.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ReferaResponse {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn as_str(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatusClass` is never used
[INFO] [stdout]    --> src/http/http_status.rs:205:10
[INFO] [stdout]     |
[INFO] [stdout] 205 | pub enum StatusClass {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `class` is never used
[INFO] [stdout]    --> src/http/http_status.rs:368:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl StatusCode {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 368 |     pub fn class(&self) -> StatusClass {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let cache = FILE_CACHE.acquire();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         FILE_CACHE.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let cache = FILE_CACHE.acquire_mut();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FILE_CACHE.free();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let  buf = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let  buffer = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustWebServer` (bin "RustWebServer" test) due to 8 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/content_manager/content_parser.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |             Err(err) => Vec::new()
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/content_manager/content_parser.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut file: Vec<u8>;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request_headers`
[INFO] [stdout]   --> src/main.rs:83:25
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn get_reply(url: &str, request_headers: HashMap<String, String>) -> ReferaResponse {
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_headers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `auth`, `file_dir`, and `tls` are never read
[INFO] [stdout]  --> src/config.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     pub auth: HashMap<String, String>,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub file_dir: String,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 9 |     pub tls: Option<TlsConfig>,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Config` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cert_path` and `key_path` are never read
[INFO] [stdout]   --> src/config.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct TlsConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 19 |     pub cert_path: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub key_path: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TlsConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/response/refera_response.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl ReferaResponse {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn as_str(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatusClass` is never used
[INFO] [stdout]    --> src/http/http_status.rs:205:10
[INFO] [stdout]     |
[INFO] [stdout] 205 | pub enum StatusClass {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `class` is never used
[INFO] [stdout]    --> src/http/http_status.rs:368:12
[INFO] [stdout]     |
[INFO] [stdout] 225 | impl StatusCode {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 368 |     pub fn class(&self) -> StatusClass {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let cache = FILE_CACHE.acquire();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         FILE_CACHE.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let cache = FILE_CACHE.acquire_mut();
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/core/server_cache.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             FILE_CACHE.free();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 - static mut FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout] 10 + static FILE_CACHE: Lazy<Mutex<HashMap<String, FileCacheTuple>>> = Lazy::new(|| { Mutex::new(HashMap::new()) });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let  buf = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let  buffer = COMMON_BUFFER.acquire_mut();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/logger/refera_logger.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         COMMON_BUFFER.free();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 21 - static mut COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout] 21 + static COMMON_BUFFER: Lazy<Mutex<BufWriter<File>>> = Lazy::new(||  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RustWebServer` (bin "RustWebServer") due to 8 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a", kill_on_drop: false }`
[INFO] [stdout] 612fb44b32b4d80f09f711b9cd2a47c0f28100e64fd7f384a8db6ed2ca3c915a
